<!-- ImageReady Slices (admin.psd) -->
<form name="langform" action="" method="post">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
	<tr>
      <td height="27" bgcolor="#999999">
<?php
	//Added By DPT on May/26/05 to hightlight the selected menu item
	$header_bg1  = $header_bg2 = $header_bg3 = $header_bg4 = $header_bg5 = $header_bg6 = $header_bg7 = $header_bg8 = "header_bg_yellow";
	switch($Act)
	{
		case "Home":
			$header_bg1 = "header_bg_white";
			break;

		case "Account":
			$header_bg2 = "header_bg_white";
			break;

		case "Affiliates":
        case "cat":
        case "MyAffiliates":
			$header_bg3 = "header_bg_white";
			break;

		case "rotator":
			$header_bg4 = "header_bg_white";
			break;

		case "Getlinks":
        case "getpopup":
        case "gethtml":
        case "getflash":
        case "getbanner":
        case "gettext":
			$header_bg5 = "header_bg_white";
			break;

		//for all these 5 options highlight same menu
		case "daily":
		case "forperiod":
		case "AffiliateReport":
		case "ProgramReport":
		case "LinkReport":
		case "TransReport":
			$header_bg6 = "header_bg_white";
			break;

		case "merchants":
			$header_bg7 = "header_bg_white";
			break;
	}
?>
	  <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td width="10" height="27">&nbsp;</td>
            <td width="85" height="27"  class="<?=$header_bg1?>"><div align="center"><a href="index.php?Act=Home"><?=$menu_home?></a></div></td>
            <td width="5"><div align="center"></div></td>
            <td width="85"  class="<?=$header_bg2?>" ><div align="center"><a href="index.php?Act=Account"><?=$menu_accounts?></a></div></td>
            <td width="5"><div align="center"></div></td>
            <td width="85"  class="<?=$header_bg3?>" ><div align="center"><a href="index.php?Act=Affiliates&amp;joinstatus=All"><?=$menu_programs?></a></div></td>
            <td width="5"><div align="center"></div></td>
            <td width="85"  class="<?=$header_bg5?>" ><div align="center"><a href="index.php?Act=Getlinks"><?=$menu_getlinks?></a></div></td>
            <td width="5"><div align="center"></div></td>
            <td width="85"  class="<?=$header_bg6?>" ><div align="center"><a href="index.php?Act=daily"><?=$menu_reports?></a></div></td>
            <td width="5"><div align="center"></div></td>
            <!--
            <td width="85"     background=<?= ($Act=="group" ? "images/white.gif":"images/yellow.gif" )   ?> ><div align="center"><a href="index.php?Act=group">Groups</a></div></td>
            <td width="5"><div align="center"></div></td>
             -->
            <td width="85"  class="<?=$header_bg7?>" ><div align="center"><a href="../affiliate_quit.php"><?=$menu_quit?></a></div></td>
          </tr>
        </table></td>
	</tr>
	</table>
</form>